package ltd.hanamaki.unittest.testng.parameter.unit;

import org.apache.poi.hssf.model.InternalWorkbook;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.ss.usermodel.Sheet;
import org.apache.poi.ss.usermodel.Workbook;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;

public class ExcelReader {

    public static void main(String[] args) throws IOException {

        Workbook workbook = HSSFWorkbook.create(InternalWorkbook.createWorkbook());
        Sheet sheet = workbook.createSheet("test");

//        workbook.write(new FileOutputStream("d:\\file.xls"));

    }



}
